package com.forcht.ioc.factory;

/**
 * Created by forcht on 2018/4/17.
 */
public class HelloWorldService {

    private String text;

    private OutputService outputService;

    public void helloWorld(){
        System.out.println(text);
    }

    public void setText(String text){
        this.text=text;
    }

    public String getText() {
        return text;
    }

    public OutputService getOutputService() {
        return outputService;
    }

    public void setOutputService(OutputService outputService) {
        this.outputService = outputService;
    }
}
